﻿using System.ComponentModel.DataAnnotations;

namespace Pyramid.Models
{
	public class LoginModel
	{
		[Required]
		[Display(Name = "账 号")]
		[MaxLength(20)]
		[MinLength(3)]
		public string UserId { get; set; }

		[Required]
		[DataType(DataType.Password)]
		[Display(Name = "密 码")]
		[MaxLength(20)]
		[MinLength(3)]
		public string Password { get; set; }

		[Display(Name = "记住账号？")]
		public bool RememberMe { get; set; }
	}
}